package fdq.mapper;

import fdq.pojo.User;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {
    @Select("select * from users where uname = #{uname}")
    public User selectUserByName(String uname);


    @Select("insert into users(uname) values(#{uname})")
    public int insertUser(User user);
}
